package cn.itsource.basic.query;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data

public class BeseQuery {
    //当前页
    private Integer currentPage = 1;
    //展示条数
    private  Integer pageSize= 5;
    //计算属性
    public Integer getStsrt(){
        return (this.currentPage - 1)*this.pageSize;
    }


}
